æòÅⁿâoâiü[

ImportOptions Object


    new ImportOptions();
    new ImportOptions(File);

Description

    The ImportOptions object provides the ability to create, change and access options for the importFile() method. You can create ImportOptions using one of two constructors, one of which takes arguments, the other which does not.

Constructors

    If importFile() is set without arguments it has a "file" which does not exist unless it is set in another statement:

    new ImportOptions().file = new File("myfile.psd");

    Otherwise importFile can be set with a single argument, which is a File object:

    var my_io = new ImportOptions( new File( "myfile.psd" ) );

Methods

    canImportAs()

    see ImportOptions canImportAs() Method

    sets the ImportAsType, allowing the input to be restricted to a particular type

Attributes

    importAs

    see ImportOptions importAs Attribute

    contains the ImportAsType

    sequence

    see ImportOptions sequence Attribute

    boolean to determine whether a sequence or an individual file is imported

    forceAlphabetical

    see ImportOptions forceAlphabetical Attribute

    boolean to determine whether the "Force Alphabetical Order" option is set